package com.dxy.df.modules.bean.entity;


import com.dxy.df.core.model.BasicEntity;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;


/**
 * 用户出饭信息发布
 *
 * @author biz@dxy.cn
 * @date 2019-10-25 15:36:06
 */

@Setter
@Getter
@ApiModel(value = "user_publish_give_rice")
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class UserPublishGiveRiceEntity extends BasicEntity {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "用户账号")
    private String userId;

    @ApiModelProperty(value = "建筑位置,TC办，上峰办")
    private String buildLocation;

    @ApiModelProperty(value = "建筑楼层,例如三楼")
    private String buildFloor;

    @ApiModelProperty(value = "出饭人姓名")
    private String ownerName;

    @ApiModelProperty(value = "饭名称")
    private String riceName;

    @ApiModelProperty(value = "发布时间")
    private Date publishTime;

    @ApiModelProperty(value = "是否自动匹配给出，1是自动，0是不自动")
    private Integer autoMatchGive;

    @ApiModelProperty(value = "业务状态，0待收饭，1已收饭")
    private Integer bizStatus;


}
